//
//  TestProblem2094.swift
//  LeetCodeTests
//
//  Created by 武侠 on 2023/6/29.
//  Copyright © 2023 zhulongiMac02. All rights reserved.
//

import XCTest
@testable import LeetCode

final class TestProblem2094: XCTestCase {

    var problem = Problem2094()
    
    override func setUp() {
        super.setUp()
        // Put setup code here. This method is called before the invocation of each test method in the class.
    }
    
    override func tearDown() {
        // Put teardown code here. This method is called after the invocation of each test method in the class.
        super.tearDown()
    }
    
    // MARK: - 排序
    func testProblem2094_Case1() throws {
        XCTAssertEqual(problem.findEvenNumbers([2,1,3,0]), [102,120,130,132,210,230,302,310,312,320])
    }
    
    func testProblem2094_Case2() throws {
        XCTAssertEqual(problem.findEvenNumbers([2,2,8,8,2]), [222,228,282,288,822,828,882])
    }
    
    func testProblem2094_Case3() throws {
        XCTAssertEqual(problem.findEvenNumbers([3,7,5]), [])
    }
}
